package com.gomyb.admin.web.context;

import com.gomyb.redis.RedisService;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author <a href="mailto:hellohesir@gmail.com">Mr_He</a>
 * bean销毁前的操作
 */
@Component
@Log4j2
public class DestoryHandler implements DisposableBean{

    @Autowired
    private RedisService redisService;

    @Override
    public void destroy() throws Exception {
    }
}
